package org.jeecg.modules.tls.blog.blogarticletag.service.impl;

import org.jeecg.modules.tls.blog.blogarticletag.entity.BlogArticleTag;
import org.jeecg.modules.tls.blog.blogarticletag.mapper.BlogArticleTagMapper;
import org.jeecg.modules.tls.blog.blogarticletag.service.IBlogArticleTagService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.HashMap;

/**
 * @Description: blog_article_tag
 * @Author: jeecg-boot
 * @Date:   2023-01-13
 * @Version: V1.0
 */
@Service
public class BlogArticleTagServiceImpl extends ServiceImpl<BlogArticleTagMapper, BlogArticleTag> implements IBlogArticleTagService {

    @Override
    public void deleteByMap(String id) {
        HashMap<String,Object> map = new HashMap<>();
        map.put("blog_article_id",id);
        baseMapper.deleteByMap(map);
    }
}
